/**
 * Created by leeho on 2017/8/29.
 */

export default [
  {
    path: '/training', // 培训入口index
    name: 'training',
    component: resolve => require(['modules/training/index'], resolve)
  },
  {
    path: '/training/curriculum', // 课程列表
    component: resolve => require(['modules/training/curriculum/Index'], resolve)
  },
  {
    path: '/training/curriculum/detail', // 课程详情
    component: resolve => require(['modules/training/curriculum/Detail'], resolve)
  },
  {
    path: '/training/class', // 班级列表
    component: resolve => require(['modules/training/class/Index'], resolve)
  },
  {
    path: '/training/class/detail', // 班级详情
    component: resolve => require(['modules/training/class/Detail'], resolve)
  },
  {
    path: '/training/class/add', // 新增&编辑班级
    component: resolve => require(['modules/training/class/Add'], resolve)
  },
  {
    path: '/training/class/history', // 上课记录
    component: resolve => require(['modules/training/class/History'], resolve)
  },
  {
    path: '/training/data', // 数据报表
    component: resolve => require(['modules/training/data/index'], resolve)
  },
  {
    path: '/training/schedule', // 课程表
    component: resolve => require(['modules/training/courseSchedule/index'], resolve)
  },
  {
    path: '/training/campus', // 校区管理
    component: resolve => require(['modules/training/campus/index'], resolve)
  },
  {
    path: '/training/coach', // 教练管理
    component: resolve => require(['modules/training/coach/index'], resolve)
  },
  {
    path: '/training/coach/add', // 新增教练
    name: 'addCoach',
    component: resolve => require(['modules/training/coach/Edit'], resolve)
  },
  {
    path: '/training/coach/edit', // 编辑教练
    name: 'editCoach',
    component: resolve => require(['modules/training/coach/Edit'], resolve)
  },
  {
    path: '/training/coach/detail/:id', // 教练详情
    component: resolve => require(['modules/training/coach/Detail'], resolve)
  },
  {
    path: '/training/student', // 学员管理
    component: resolve => require(['modules/training/student/index'], resolve)
  },
  {
    path: '/training/student/add', // 新增学员
    name: 'addStudent',
    component: resolve => require(['modules/training/student/Edit'], resolve)
  },
  {
    path: '/training/student/edit', // 编辑学员
    name: 'editStudent',
    component: resolve => require(['modules/training/student/Edit'], resolve)
  },
  {
    path: '/training/student/detail/:id', // 学员详情
    component: resolve => require(['modules/training/student/Detail'], resolve)
  },
  {
    path: '/training/student/situation', // 查看上课情况
    component: resolve => require(['modules/training/student/Situation'], resolve)
  }
]
